const pack = require('../zerod/package.json');
module.exports = {
    publicPath: '/',
    sourceDirs: ['zerod'],
    leftExpandWidth: 280,
    author: 'ZGT', //作者
    projectName: 'Zero-desigin', //文档标题
    firstPage: '/start', //首页打开的地址
    version: pack.version, //版本
    //左栏导航配置
    menuData: [
        {
            path: 'start',
            name: '开始',
            iconClass: 'home',
        },
        {
            path: 'zerod-cli',
            name: 'Zerod-cli',
            iconClass: 'home',
        },
        {
            path: 'standard',
            name: '开发约定规范',
            iconClass: 'file-text',
        },
        {
            path: 'eslint-doc',
            name: 'ESlint强制规范',
            iconClass: 'file-text',
        },
        {
            path: 'zerod-markdown',
            name: '编写组件文档',
            iconClass: 'home',
        },
        {
            path: 'style-doc',
            name: '通用样式类名',
            iconClass: 'shop',
        },
        {
            path: 'httpAjax',
            name: 'httpAjax',
            iconClass: 'tool',
        },
        {
            path: 'zTool-doc',
            name: '工具函数：zTool',
            iconClass: 'tool',
        },
        {
            path: 'HOC-doc',
            name: '页面模板组件',
            iconClass: 'laptop',
            children: [
                {
                    path: 'ZappHOC-doc',
                    name: '根组件 : ZappHOC',
                    iconClass: '',
                },
                {
                    path: 'ZmainHOC-doc',
                    name: '主页布局 : ZmainHOC',
                    iconClass: '',
                },
                {
                    path: 'ZpageWraperHOC-doc',
                    name: '页面头尾结构 : ZpageWrapper',
                    iconClass: '',
                },
                {
                    path: 'ZsearchListHOC-doc',
                    name: '列表展示 : ZsearchListHOC',
                    iconClass: '',
                },
                {
                    path: 'ZeditSimpleFormHOC-doc',
                    name: '编辑页面 : ZeditSimpleFormHOC',
                    iconClass: '',
                },
                {
                    path: 'ZdetailSimpleBaseHOC-doc',
                    name: '详情页面 : ZdetailSimpleBaseHOC',
                    iconClass: '',
                },
                {
                    path: 'ZeditorTreeHOC-doc',
                    name: '树列表页 : ZeditorTreeHOC',
                    iconClass: '',
                },
            ],
        },
        {
            path: 'context-doc',
            name: '上下文',
            iconClass: 'block',
            children: [
                {
                    path: 'ZerodMainContext-doc',
                    name: 'ZerodMainContext',
                    iconClass: '',
                },
                {
                    path: 'ZerodRootContext-doc',
                    name: 'ZerodRootContext',
                    iconClass: '',
                },
            ],
        },
        {
            path: 'component-doc',
            name: '组件',
            iconClass: 'tags',
            children: [
                {
                    path: 'ZmultiRowFormControl',
                    name: '多行编辑控件 : ZmultiRowFormControl',
                    iconClass: '',
                },
                {
                    path: 'ZpartSide-doc',
                    name: '局部侧边 : ZpartSide',
                    iconClass: '',
                },
                {
                    path: 'ZpanelTitle-doc',
                    name: '模块标题 : ZpanelTitle',
                    iconClass: '',
                },
                {
                    path: 'ZListMasonry-doc',
                    name: '堆砌列表 : ZListMasonry',
                    iconClass: '',
                },
                {
                    path: 'ZwindowGapHeight-doc',
                    name: 'ZwindowGapHeight',
                    iconClass: '',
                },
                {
                    path: 'ZtimeRange-doc',
                    name: '时间范围 : ZtimeRange',
                    iconClass: '',
                },
                {
                    path: 'ZtreeInput-doc',
                    name: '树编辑控件 : ZtreeInput',
                    iconClass: '',
                },
                {
                    path: 'ZliveForm-doc',
                    name: '动态表单 : ZliveForm',
                    iconClass: '',
                },
                {
                    path: 'ZpopoverButton-doc',
                    name: '自带浮层按钮 : ZpopoverButton',
                    iconClass: '',
                },
                {
                    path: 'ZfullLayer-doc',
                    name: '浮层窗口 : ZfullLayer',
                    iconClass: '',
                },
                {
                    path: 'Zscheduling-doc',
                    name: '排班组件 : Zscheduling',
                    iconClass: '',
                },
                {
                    path: 'ZroundingButton-doc',
                    name: '环绕按钮 : ZroundingButton',
                    iconClass: '',
                },
                {
                    path: 'ZcolorPicker-doc',
                    name: '颜色选择器 : ZcolorPicker',
                    iconClass: '',
                },
                {
                    path: 'ZbgImage-doc',
                    name: '展示图片 : ZbgImages',
                    iconClass: '',
                },
                {
                    path: 'Zviewer-doc',
                    name: '图片查看器 : Zviewer',
                    iconClass: '',
                },
                {
                    path: 'ZoneWayTransfer-doc',
                    name: '单向转移框 : ZoneWayTransfer',
                    iconClass: '',
                },
                {
                    path: 'Zcascader-doc',
                    name: '级联选择 : Zcascader',
                    iconClass: '',
                },
                {
                    path: 'ZcodeHighlight-doc',
                    name: '代码高亮 : ZcodeHighlight',
                    iconClass: '',
                },

                {
                    path: 'Zlayout-doc',
                    name: '布局组件 : Zlayout',
                    iconClass: '',
                },
                {
                    path: 'ZrightModal-doc',
                    name: '右抽屉窗口 : ZrightModal',
                    iconClass: '',
                },
                {
                    path: 'ZpageHeader-doc',
                    name: '页头 : ZpageHeader',
                    iconClass: '',
                },
                {
                    path: 'ZpageFooter-doc',
                    name: '页尾 : ZpageFooter',
                    iconClass: '',
                },
                {
                    path: 'ZpageLoading-doc',
                    name: '页loading : ZpageLoading',
                    iconClass: '',
                },
                {
                    path: 'ZsideMenu-doc',
                    name: '侧边导航 : ZsideMenu',
                    iconClass: '',
                },
                {
                    path: 'Zinfo-doc',
                    name: '信息展示 : Zinfo',
                    iconClass: '',
                },
                {
                    path: 'Zform-doc',
                    name: '普通表单 : Zform',
                    iconClass: '',
                },
                {
                    path: 'ZsearchForm-doc',
                    name: '查询表单 : ZsearchForm',
                    iconClass: '',
                },
                {
                    path: 'ZsearchTags-doc',
                    name: '查询表单 : ZsearchTags',
                    iconClass: '',
                },
                {
                    path: 'Ztabs-doc',
                    name: '标签页 : Ztabs',
                    iconClass: '',
                },
                {
                    path: 'ZlabelInput-doc',
                    name: 'label+value输入框 : ZlabelInput',
                    iconClass: '',
                },
                // {
                //     path: 'https://www.baidu.com',
                //     name: 'iframe导航',
                //     iconClass: '',
                //     openMode: 'iframe',
                // },
                // {
                //     path: 'https://www.baidu.com',
                //     name: 'iframe-full导航',
                //     iconClass: '',
                //     openMode: 'iframe-full',
                // },
                {
                    path: 'ZpdfViewer',
                    name: 'ZpdfViewer',
                    iconClass: '',
                },
            ],
        },
    ],
    // 更新日志(以二维数组字符串描述更新日志)
    logs: [],
    entryContent: `
    import 'zerod/index.scss';
    `,
};
